package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class Department {
    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    private Integer parentId;
    private int managerId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
